package com.cskaoyan.catmall.service;

import com.cskaoyan.catmall.model.bo.PromotionCouponBo;
import com.cskaoyan.catmall.model.pojo.MarketCoupon;
import com.cskaoyan.catmall.model.pojo.MarketCouponUser;
import com.cskaoyan.catmall.model.vo.ItemOfCouponListVo;
import com.cskaoyan.catmall.model.vo.PromotionBaseVo;

import java.util.List;

public interface CouponService {
    PromotionBaseVo<ItemOfCouponListVo> getPromotionCoupons(PromotionCouponBo promotionCouponBo);
    void createCoupon(MarketCoupon marketCoupon);

    MarketCoupon getPromotionCouponInfo(Integer id);

    List<MarketCouponUser> getCouponUsers(MarketCouponUser couponUser);

    void updateCoupon(MarketCoupon marketCoupon);

    void deleteCoupon(MarketCoupon marketCoupon);

}
